<?php
function smarty_function_explode($params, &$smarty)
{
	$array = explode($params["separator"], $params["string"]);
	if (isset($params["assign"])) $smarty->assign($params["assign"], $array);
	else return $array;
}
?>
